package Modelo;

public class PsAddresses extends BaseModelo
{
  private static String tableName = "PS_ADDRESSES";
  private static EstructuraFila estructuraFila = new EstructuraFila();

  public static void setEstructuraFila(EstructuraFila aEstructuraFila)
  {
    estructuraFila = aEstructuraFila;
  }

  public static String getTableName()
  {
    return tableName;
  }

  public static EstructuraFila getEstructuraFila()
  {
    return estructuraFila;
  }

  public PsAddresses(String emplid)
  {
    blanquearCamposObligatorios(estructuraFila);

    setEmplid(emplid);
  }

  public void setEmplid(String emplid) {
    asignarCampo("EMPLID", emplid);
  }

  public void setAddress_type(String address_type) {
    asignarCampo("ADDRESS_TYPE", address_type);
  }

  public void setEffdt(String effdt) {
    asignarCampo("EFFDT", effdt);
  }

  public void setEff_status(String eff_status) {
    asignarCampo("EFF_STATUS", eff_status);
  }

  public void setCountry(String country) {
    asignarCampo("COUNTRY", country);
  }

  public void setAddress1(String address1) {
    asignarCampo("ADDRESS1", address1);
  }

  public void setAddress2(String address2) {
    asignarCampo("ADDRESS2", address2);
  }

  public void setAddress3(String address3) {
    asignarCampo("ADDRESS3", address3);
  }

  public void setAddress4(String address4) {
    asignarCampo("ADDRESS4", address4);
  }

  public void setCity(String city) {
    asignarCampo("CITY", city);
  }

  public void setNum1(String num1) {
    asignarCampo("NUM1", num1);
  }

  public void setNum2(String num2) {
    asignarCampo("NUM2", num2);
  }

  public void setHouse_type(String house_type) {
    asignarCampo("HOUSE_TYPE", house_type);
  }

  public void setAddr_field1(String addr_field1) {
    asignarCampo("ADDR_FIELD1", addr_field1);
  }

  public void setAddr_field2(String addr_field2) {
    asignarCampo("ADDR_FIELD2", addr_field2);
  }

  public void setAddr_field3(String addr_field3) {
    asignarCampo("ADDR_FIELD3", addr_field3);
  }

  public void setCounty(String county) {
    asignarCampo("COUNTY", county);
  }

  public void setState(String state) {
    asignarCampo("STATE", state);
  }

  public void setPostal(String postal) {
    asignarCampo("POSTAL", postal);
  }

  public void setGeo_code(String geo_code) {
    asignarCampo("GEO_CODE", geo_code);
  }

  public void setIn_city_limit(String in_city_limit) {
    asignarCampo("IN_CITY_LIMIT", in_city_limit);
  }

  public void setAddress1_ac(String address1_ac) {
    asignarCampo("ADDRESS1_AC", address1_ac);
  }

  public void setAddress2_ac(String address2_ac) {
    asignarCampo("ADDRESS2_AC", address2_ac);
  }

  public void setAddress3_ac(String address3_ac) {
    asignarCampo("ADDRESS3_AC", address3_ac);
  }

  public void setCity_ac(String city_ac) {
    asignarCampo("CITY_AC", city_ac);
  }

  public void setReg_region(String reg_region) {
    asignarCampo("REG_REGION", reg_region);
  }

  public void setLoc_addr(String loc_addr) {
    asignarCampo("LOC_ADDR", loc_addr);
  }

  public void setLoc_addr_data(String loc_addr_data) {
    asignarCampo("LOC_ADDR_DATA", loc_addr_data);
  }

  public void setLoc_addr_line(String loc_addr_line) {
    asignarCampo("LOC_ADDR_LINE", loc_addr_line);
  }

  public void setLoc_addr_type(String loc_addr_type) {
    asignarCampo("LOC_ADDR_TYPE", loc_addr_type);
  }

  public void setExt_org_id(String ext_org_id) {
    asignarCampo("EXT_ORG_ID", ext_org_id);
  }

  public void setOrg_location(String org_location) {
    asignarCampo("ORG_LOCATION", org_location);
  }

  public void setDescr_ext_org(String descr_ext_org) {
    asignarCampo("DESCR_EXT_ORG", descr_ext_org);
  }

  public void setDescr_org_location(String descr_org_location) {
    asignarCampo("DESCR_ORG_LOCATION", descr_org_location);
  }

  public void setMaint_addr_manual(String maint_addr_manual) {
    asignarCampo("MAINT_ADDR_MANUAL", maint_addr_manual);
  }

  public void setMaint_other_manual(String maint_other_manual) {
    asignarCampo("MAINT_OTHER_MANUAL", maint_other_manual);
  }

  public void setOrg_contact(String org_contact) {
    asignarCampo("ORG_CONTACT", org_contact);
  }

  public void setContact_name(String contact_name) {
    asignarCampo("CONTACT_NAME", contact_name);
  }

  public void setData_source(String data_source) {
    asignarCampo("DATA_SOURCE", data_source);
  }

  public void setSeasonal_addr(String seasonal_addr) {
    asignarCampo("SEASONAL_ADDR", seasonal_addr);
  }

  public AtributoValor getEmplid() {
    return obtenerAtributoValor("EMPLID");
  }

  public AtributoValor getAddress_type() {
    return obtenerAtributoValor("ADDRESS_TYPE");
  }

  public AtributoValor getEffdt() {
    return obtenerAtributoValor("EFFDT");
  }

  public AtributoValor getEff_status() {
    return obtenerAtributoValor("EFF_STATUS");
  }

  public AtributoValor getCountry() {
    return obtenerAtributoValor("COUNTRY");
  }

  public AtributoValor getAddress1() {
    return obtenerAtributoValor("ADDRESS1");
  }

  public AtributoValor getAddress2() {
    return obtenerAtributoValor("ADDRESS2");
  }

  public AtributoValor getAddress3() {
    return obtenerAtributoValor("ADDRESS3");
  }

  public AtributoValor getAddress4() {
    return obtenerAtributoValor("ADDRESS4");
  }

  public AtributoValor getCity() {
    return obtenerAtributoValor("CITY");
  }

  public AtributoValor getNum1() {
    return obtenerAtributoValor("NUM1");
  }

  public AtributoValor getNum2() {
    return obtenerAtributoValor("NUM2");
  }

  public AtributoValor getHouse_type() {
    return obtenerAtributoValor("HOUSE_TYPE");
  }

  public AtributoValor getAddr_field1() {
    return obtenerAtributoValor("ADDR_FIELD1");
  }

  public AtributoValor getAddr_field2() {
    return obtenerAtributoValor("ADDR_FIELD2");
  }

  public AtributoValor getAddr_field3() {
    return obtenerAtributoValor("ADDR_FIELD3");
  }

  public AtributoValor getCounty() {
    return obtenerAtributoValor("COUNTY");
  }

  public AtributoValor getState() {
    return obtenerAtributoValor("STATE");
  }

  public AtributoValor getPostal() {
    return obtenerAtributoValor("POSTAL");
  }

  public AtributoValor getGeo_code() {
    return obtenerAtributoValor("GEO_CODE");
  }

  public AtributoValor getIn_city_limit() {
    return obtenerAtributoValor("IN_CITY_LIMIT");
  }

  public AtributoValor getAddress1_ac() {
    return obtenerAtributoValor("ADDRESS1_AC");
  }

  public AtributoValor getAddress2_ac() {
    return obtenerAtributoValor("ADDRESS2_AC");
  }

  public AtributoValor getAddress3_ac() {
    return obtenerAtributoValor("ADDRESS3_AC");
  }

  public AtributoValor getCity_ac() {
    return obtenerAtributoValor("CITY_AC");
  }

  public AtributoValor getReg_region() {
    return obtenerAtributoValor("REG_REGION");
  }

  public AtributoValor getLoc_addr() {
    return obtenerAtributoValor("LOC_ADDR");
  }

  public AtributoValor getLoc_addr_data() {
    return obtenerAtributoValor("LOC_ADDR_DATA");
  }

  public AtributoValor getLoc_addr_line() {
    return obtenerAtributoValor("LOC_ADDR_LINE");
  }

  public AtributoValor getLoc_addr_type() {
    return obtenerAtributoValor("LOC_ADDR_TYPE");
  }

  public AtributoValor getExt_org_id() {
    return obtenerAtributoValor("EXT_ORG_ID");
  }

  public AtributoValor getOrg_location() {
    return obtenerAtributoValor("ORG_LOCATION");
  }

  public AtributoValor getDescr_ext_org() {
    return obtenerAtributoValor("DESCR_EXT_ORG");
  }

  public AtributoValor getDescr_org_location() {
    return obtenerAtributoValor("DESCR_ORG_LOCATION");
  }

  public AtributoValor getMaint_addr_manual() {
    return obtenerAtributoValor("MAINT_ADDR_MANUAL");
  }

  public AtributoValor getMaint_other_manual() {
    return obtenerAtributoValor("MAINT_OTHER_MANUAL");
  }

  public AtributoValor getOrg_contact() {
    return obtenerAtributoValor("ORG_CONTACT");
  }

  public AtributoValor getContact_name() {
    return obtenerAtributoValor("CONTACT_NAME");
  }

  public AtributoValor getData_source() {
    return obtenerAtributoValor("DATA_SOURCE");
  }

  public AtributoValor getSeasonal_addr() {
    return obtenerAtributoValor("SEASONAL_ADDR");
  }

  static
  {
    estructuraFila.adicionar("EMPLID", "S", true, "getEmplid");
    estructuraFila.adicionar("ADDRESS_TYPE", "S", true, "getAddress_type");
    estructuraFila.adicionar("EFFDT", "D", true, "getEffdt");
    estructuraFila.adicionar("EFF_STATUS", "S", true, "getEff_status");
    estructuraFila.adicionar("COUNTRY", "S", true, "getCountry");
    estructuraFila.adicionar("ADDRESS1", "S", true, "getAddress1");
    estructuraFila.adicionar("ADDRESS2", "S", true, "getAddress2");
    estructuraFila.adicionar("ADDRESS3", "S", true, "getAddress3");
    estructuraFila.adicionar("ADDRESS4", "S", true, "getAddress4");
    estructuraFila.adicionar("CITY", "S", true, "getCity");
    estructuraFila.adicionar("NUM1", "S", true, "getNum1");
    estructuraFila.adicionar("NUM2", "S", true, "getNum2");
    estructuraFila.adicionar("HOUSE_TYPE", "S", true, "getHouse_type");
    estructuraFila.adicionar("ADDR_FIELD1", "S", true, "getAddr_field1");
    estructuraFila.adicionar("ADDR_FIELD2", "S", true, "getAddr_field2");
    estructuraFila.adicionar("ADDR_FIELD3", "S", true, "getAddr_field3");
    estructuraFila.adicionar("COUNTY", "S", true, "getCounty");
    estructuraFila.adicionar("STATE", "S", true, "getState");
    estructuraFila.adicionar("POSTAL", "S", true, "getPostal");
    estructuraFila.adicionar("GEO_CODE", "S", true, "getGeo_code");
    estructuraFila.adicionar("IN_CITY_LIMIT", "S", true, "getIn_city_limit");
    estructuraFila.adicionar("ADDRESS1_AC", "S", true, "getAddress1_ac");
    estructuraFila.adicionar("ADDRESS2_AC", "S", true, "getAddress2_ac");
    estructuraFila.adicionar("ADDRESS3_AC", "S", true, "getAddress3_ac");
    estructuraFila.adicionar("CITY_AC", "S", true, "getCity_ac");
    estructuraFila.adicionar("REG_REGION", "S", true, "getReg_region");
    estructuraFila.adicionar("LOC_ADDR", "S", true, "getLoc_addr");
    estructuraFila.adicionar("LOC_ADDR_DATA", "S", true, "getLoc_addr_data");
    estructuraFila.adicionar("LOC_ADDR_LINE", "S", true, "getLoc_addr_line");
    estructuraFila.adicionar("LOC_ADDR_TYPE", "S", true, "getLoc_addr_type");
    estructuraFila.adicionar("EXT_ORG_ID", "S", true, "getExt_org_id");
    estructuraFila.adicionar("ORG_LOCATION", "N", true, "getOrg_location");
    estructuraFila.adicionar("DESCR_EXT_ORG", "S", true, "getDescr_ext_org");
    estructuraFila.adicionar("DESCR_ORG_LOCATION", "S", true, "getDescr_org_location");
    estructuraFila.adicionar("MAINT_ADDR_MANUAL", "S", true, "getMaint_addr_manual");
    estructuraFila.adicionar("MAINT_OTHER_MANUAL", "S", true, "getMaint_other_manual");
    estructuraFila.adicionar("ORG_CONTACT", "N", true, "getOrg_contact");
    estructuraFila.adicionar("CONTACT_NAME", "S", true, "getContact_name");
    estructuraFila.adicionar("DATA_SOURCE", "S", true, "getData_source");
    estructuraFila.adicionar("SEASONAL_ADDR", "S", true, "getSeasonal_addr");
  }
}